using ECommerce.Web.Models;

namespace ECommerce.Web.NHibernate.Mappings.EntityMappings
{
    public class ProductMap : EntityMap<Product>
    {
        public ProductMap()
        {
            Map(x => x.Name).Not.Nullable();
            Map(x => x.Price).Not.Nullable();
        }
    }
}